<template>
<div class="header">
    <div class="header-left">
        <span class="iconfont">
          &#xe609;
        </span>
    </div>
    <div class="header-search">
        <span class="iconfont">&#xe60a;</span>
        <input type="text" placeholder="输入城市、景点">
    </div>
    <div class="header-right">
        北京<span class="iconfont">&#xe6aa;</span>
    </div>
</div>
</template>
<script></script>
<style scoped>
.header{
    display: flex;
    width: 100%;
    height: .88rem;
    background:rgb(236, 136, 136);
    color: #fff;
    font-size: .36rem;
    line-height: .88rem;
}
.header-left{
    width:.4rem;
    padding: 0 .2rem;
    text-align: center;
    font-weight: bold;
}
.header-search{
    flex:1; 
    height: .6rem;  
}
input{
    height: .6rem;
    width: 250px;
    margin:.1rem 0;
    border-radius: 5px;
}
.header-right{
    font-size: .28rem;
    padding: 0 .1rem;
}
</style>